package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.AdUserDto;
import com.heima.model.admin.pojos.AdUser;
import com.heima.model.common.dtos.ResponseResult;
import io.swagger.annotations.ApiOperation;

public interface AdUserService extends IService<AdUser> {

    /**
     * admin登录功能
     * @param dto
     * @return
     */
     ResponseResult login(AdUserDto dto);


    /**
     * 注册功能
     * @param adUser 用户实体对象
     * @return
     */
    ResponseResult register(AdUser adUser);
}
